#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define XH(i,a,b) for(int i = a; i < b; ++i)
#define XXH(i,b,a) for(int i = b; i >= a; --i)
#define Module 998244353
int tmpInt;ll tmpLL;string tmpStr;char tmpChar;
vector<int>tmpIntVector;

string S;ll n;

int main(){
  cin>>n>>S;
  int baseEle[] = {1,2,4,6,16,26,41,42,44,46,61,64,66};
  vector<vector<int> >convert={{2},{4},{1,6,16},{6,4,64},{26},{46},{62},{64},{61},{66},{42},{44},{41},{46}};
  int baseMap[67];
  XH(i,0,14)baseMap[baseEle[i]] = i; 
  if(S.size() <= 2){
    int init[1][14]; init[0][0] = 1;
    int mat[14][14];
    XH(from,0,14)for(int to:convert[from]){
      mat[from][baseMap[to]]++;
    }
  }else{
    
  }
  
  return 0;
}
